package ch6;

import java.util.Scanner;

public class Phone2 {

	public static void main(String[] args) {
		int a[] = new int[4];// !!!!!!!!!!!!
		System.out.println("请输入4个数");
		Scanner input = new Scanner(System.in);
		for (int i = 0; i < a.length; i++) {
			int min = a[0];
			a[i] = input.nextInt();
			if (a[i] < min) {
				min = a[i];
			}
			System.out.println(min);
		}
	}
}
